#include "AssignNode.h"
#include "Output/Console.h"
#include "ScriptCompiler/Token/Token.h"
void CAssignNode::DebugPrint(int32_t InDepth)
{
    //print Depth
    LeftOperand->DebugPrint(InDepth);

    WH::Print(U" ");
    WH::Print(Operator->ToString());
    WH::Print(U" ");

    RightOperand->DebugPrint(0);

}

std::shared_ptr<CScriptToken> CAssignNode::GetFirstToken()
{
    return LeftOperand->GetFirstToken();
}
